﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200135F RID: 4959
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeOffAvatarSkinScRsp : IMessage<TakeOffAvatarSkinScRsp>, IMessage, IEquatable<TakeOffAvatarSkinScRsp>, IDeepCloneable<TakeOffAvatarSkinScRsp>, IBufferMessage
	{
		// Token: 0x17003E90 RID: 16016
		// (get) Token: 0x0600DE0E RID: 56846 RVA: 0x00252754 File Offset: 0x00250954
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeOffAvatarSkinScRsp> Parser
		{
			get
			{
				return TakeOffAvatarSkinScRsp._parser;
			}
		}

		// Token: 0x17003E91 RID: 16017
		// (get) Token: 0x0600DE0F RID: 56847 RVA: 0x0025275B File Offset: 0x0025095B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeOffAvatarSkinScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003E92 RID: 16018
		// (get) Token: 0x0600DE10 RID: 56848 RVA: 0x0025276D File Offset: 0x0025096D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeOffAvatarSkinScRsp.Descriptor;
			}
		}

		// Token: 0x0600DE11 RID: 56849 RVA: 0x00252774 File Offset: 0x00250974
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeOffAvatarSkinScRsp()
		{
		}

		// Token: 0x0600DE12 RID: 56850 RVA: 0x0025277C File Offset: 0x0025097C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeOffAvatarSkinScRsp(TakeOffAvatarSkinScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DE13 RID: 56851 RVA: 0x002527A1 File Offset: 0x002509A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeOffAvatarSkinScRsp Clone()
		{
			return new TakeOffAvatarSkinScRsp(this);
		}

		// Token: 0x17003E93 RID: 16019
		// (get) Token: 0x0600DE14 RID: 56852 RVA: 0x002527A9 File Offset: 0x002509A9
		// (set) Token: 0x0600DE15 RID: 56853 RVA: 0x002527B1 File Offset: 0x002509B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600DE16 RID: 56854 RVA: 0x002527BA File Offset: 0x002509BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeOffAvatarSkinScRsp);
		}

		// Token: 0x0600DE17 RID: 56855 RVA: 0x002527C8 File Offset: 0x002509C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeOffAvatarSkinScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DE18 RID: 56856 RVA: 0x002527F8 File Offset: 0x002509F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DE19 RID: 56857 RVA: 0x00252837 File Offset: 0x00250A37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DE1A RID: 56858 RVA: 0x0025283F File Offset: 0x00250A3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DE1B RID: 56859 RVA: 0x00252848 File Offset: 0x00250A48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DE1C RID: 56860 RVA: 0x0025287C File Offset: 0x00250A7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DE1D RID: 56861 RVA: 0x002528BA File Offset: 0x00250ABA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeOffAvatarSkinScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DE1E RID: 56862 RVA: 0x002528EB File Offset: 0x00250AEB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DE1F RID: 56863 RVA: 0x002528F4 File Offset: 0x00250AF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400581A RID: 22554
		private static readonly MessageParser<TakeOffAvatarSkinScRsp> _parser = new MessageParser<TakeOffAvatarSkinScRsp>(() => new TakeOffAvatarSkinScRsp());

		// Token: 0x0400581B RID: 22555
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400581C RID: 22556
		public const int RetcodeFieldNumber = 1;

		// Token: 0x0400581D RID: 22557
		private uint retcode_;
	}
}
